package com.lanswon.dao;

import java.util.List;
import java.util.Map;

import com.lanswon.entity.BusVO;

public interface BusMapper {
    int deleteByPrimaryKey(Long busId);

    int insert(BusVO record);

    int insertSelective(BusVO record);

    BusVO selectByPrimaryKey(Long busId);

    int updateByPrimaryKeySelective(BusVO record);

    int updateByPrimaryKey(BusVO record);
    
    void deleteAll();

    List<BusVO> selectBus();

	/**
	 * @param busName
	 * @param direction
	 * @return
	 */
	BusVO showByNumAndDir(String busName, String busDirection);

}